package com.domain;

import java.math.BigDecimal;

public class Carts {
	private int id;
	private int userid;
	private int goodsid;
	private BigDecimal price;
	private int nums;
	private String image;
	private String name;
	private String accept;
	private String telphone;
	private String province;//省//9
	private String city;//城市
	private String area;//区
	private String address;//地址
	private String type;
	private String username;//14
	private String goodsno;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public int getNums() {
		return nums;
	}
	public void setNums(int nums) {
		this.nums = nums;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccept() {
		return accept;
	}
	public void setAccept(String accept) {
		this.accept = accept;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getGoodsno() {
		return goodsno;
	}
	public void setGoodsno(String goodsno) {
		this.goodsno = goodsno;
	}
	@Override
	public String toString() {
		return "Carts [id=" + id + ", userid=" + userid + ", goodsid=" + goodsid + ", price=" + price + ", nums=" + nums
				+ ", image=" + image + ", name=" + name + ", accept=" + accept + ", telphone=" + telphone
				+ ", province=" + province + ", city=" + city + ", area=" + area + ", address=" + address + ", type="
				+ type + ", username=" + username + ", goodsno=" + goodsno + "]";
	}
	
	
	
	
	
}
